import request from '@/router/axios'

export function fetchList(query) {
  return request({
    url: '/admin/trainingStudentDocuments/page',
    method: 'get',
    params: query
  })
}

export function followUpList(query) {
  return request({
    url: '/admin/trainingStudentDocuments/page',
    method: 'get',
    params: query
  })
}

export function sFollowUp(fid) {
  return request({
    url: '/admin/trainingStudentDocuments/sFollowUp?fid=' + fid,
    method: 'post'
  })
}

export function signUpDocuments(obj) {
  return request({
    url: '/admin/trainingStudentDocuments',
    method: 'post',
    data: obj
  })
}
export function dropOutOfSchool(trainingStudentUnRegister) {
  return request({
    url: '/admin/trainingStudentDocuments/dropOutOfSchool',
    method: 'post',
    data: trainingStudentUnRegister
  })
}

export function signUp(obj) {
  return request({
    url: '/admin/trainingStudentDocuments/signUp',
    method: 'post',
    data: obj
  })
}
